package com.sinping.qh.dto.common;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zhangjin
 * @create 2018/8/16
 */
@Data
public class CommonParamDTO implements ICommonDTO {



    @JsonProperty("unit_id")
    private String unitId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    @JsonProperty("start_date")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    @JsonProperty("end_date")
    private Date endDate;

    @JsonProperty("start_year")
    private String startYear;

    @JsonProperty("end_year")
    private String endYear;
}
